How To Install Rpmbuild On Ubuntu

Here is how you can install RPM packages on Ubuntu: Convert RPM package to.deb using alien and install it afterwards, i.e. Install alien (and deps), its available in Debian, Ubuntu repository: sudo apt-get install alien dpkg-dev debhelper build-essential. Apcb m3 94v-0 graphics card. Convert rpm package using command; sudo alien -k -scripts some-rpm-package.rpm.
Rpm -i package-1.2.3.rpmFor installing packages on RedHat based systems, we use rpm (Red Hat Package Manager) command. Installing Package:To install a rpm package using command line on redhat based system use -i command line switch with rpm command. Rpm -i package-1.2.3.rpmYou can also use YUM or DNF package manager to install downloaded rpm file. Its benefit to resolve dependencies required for the package.
Yum localinstall package-1.2.3.rpm ## CentOS, RHEL systems dnf localinstall package-1.2.3.rpm ## Fedora systems Removing Package:In case if we need to remove any package use -e command line switch with the package name. Rpm -e package-1.2.3.rpm.