Posts Tagged With: package

Install Package List

Tagged with: , , , , , ,

Install a list of packages from a text file.


cat packages.txt | xargs apt-get install
No Comments »

Show Packages from a Group

Tagged with: , , , , , ,

Show rpm packages of a group software


rpm -qg "System Environment/Daemons"
2 Comments »

List Files Provided by Package

Tagged with: , , , , , ,

Show list of files provided by a rpm package installed


rpm -ql package_name
No Comments »

Download Deb Files Using apt-get

Tagged with: , , , , , , , ,

If you want to download the deb files without installing them, use the following command. The downloaded file will be at /var/cache/apt/archives . Needless to say, this works only on Debian based distros – like Ubuntu, Kubuntu, etc


apt-get -d install PACKAGE-NAME
2 Comments »

Search Debian Package

Tagged with: , , , , , ,

Show all deb packages with the name “httpd”


dpkg -l | grep httpd
2 Comments »

Update an Installed RPM Package

Tagged with: , , , , ,

Upgrade a rpm package only if it is already installed


rpm -F package.rpm
No Comments »

All RPM Packages

Tagged with: , , , , , ,

Show all rpm packages installed on the system


rpm -qa
No Comments »

Verify RPM Package

Tagged with: , , , , , , , ,

Verify the integrity of a rpm package


rpm --checksig package.rpm
No Comments »

Build RPM From RPM Source

Tagged with: , , , , , ,

Build a rpm package from a rpm source


rpmbuild --rebuild package_name.src.rpm
No Comments »

Building an RPM from a Spec File

Tagged with: , , , , , , ,

Use this command to build an RPM if you have a Spec File


rpmbuild -ba SPEC_FILE
No Comments »