RPM
RPM
In windows we need .exe. file to be install the software. and for linux if we want to run the .exe
file we need ( emulator called Wine ) Wine is a emulator to run the .exe files in Linux. moreover
the package is not stable but the good one is # crossover it is a commercial package.
1) RPM
2) Source Code
3) SRPM
4) YUM
Our todays task is to install the rdesktop in linux called as remote desktop.
Note = Around 700 and above rpms packages are bydefault installed in linux.
# rpm -qa | grep -i rdesktop (to check the Package is installed or not )
# rpm -e and package name ( this command is used for remove the package )
# rpm -qpl glibc-2.3.2-11.9.i386.rpm ( This command is use to list the files under the package
before Installation)
# rpm -ql glibc-2.3.2-11.9.i386.rpm ( This command is use to list the files under the package
before Installation )
# There are 3 sites to download the rpm and source code download sites
http://rpm.pbone.net/
http://www.rpmseek.com/index.html
http://www.filewatcher.com/
64 bit OR 32 bit
# uname -a ( to get the OS version )
i386, i586 and i686 all thease versions are 32 bit OS
wget
ftp://ftp.gmd.de/mirrors3/ftp.linuxppc.org/contrib/sources/Applications/Multimedia/xmms_speake
rs-2.0-1.src.rpm
This command is use for download the package through command line.
# rpm -ivh --nodeps Package Name ( This command will install the package without
dependencies but we do not use this command is use for install the packages )
# rpm -ivh --nodeps xyz...doc and Package Name ( it is usefull to ignore unwanted
dependencies )
# ./configure
# make
# make install
All three steps are source code Installation steps all these called as auto config way.
Note = When ever we get the error called gcc then we have to install the package via # yum
install gcc ( YUM stands for Yellowdog Updater, Modified )
# ./configure ( it does or checks the dependencies in the File Systems and reconstruct the
make file )
# make install ( This command will write and sync compiled files from memory to Hard Disk )
inside the we can start the httpd service for example ./httpd -k start
# echo $? ( this command shows the value of last command run successfully Or not If the
command was successful then the value of the command is 0 and If the value comes above 0
then the command was unsuccessful )