Install a RPM package
Code: [ Select ]
rpm –ivh packagename.rpm
Upgrade a RPM package
Code: [ Select ]
rpm –Uvh packagename.rpm
Verify a RPM package was installed
Code: [ Select ] [ Line Numbers Off ]
- rpm -qa | grep packagename
- locate packagename
Create a tar file
Code: [ Select ]
tar –cvf myfiles.tar mydir/
Create a tar file gzipped
Similar to above, but add a z for creating .tgz (.tar.gz) files)
Code: [ Select ]
tar –cvzf myfiles.tgz mydir/
Standard install from source
A common way to install software from source will be done similarly to the below:
Code: [ Select ] [ Line Numbers Off ]
- tar –xvzf Apackage.tar.gz
- cd Apackage
- ./configure
- make
- make install
No comments:
Post a Comment