Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am trying to install a package from usb drive but am unsure of the correct command for this. The package is as follows----pal-app-12.04.0053-1.i386-fedora.rpm.
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,363
Rep:
Quote:
Originally Posted by Chrisroot
I am trying to install a package from usb drive but am unsure of the correct command for this. The package is as follows----pal-app-12.04.0053-1.i386-fedora.rpm.
Hi Chrisroot ... I gather you're on RedHat, right ? I am unfamiliar with RedHat, but most distros package management utilities have commands to install from an already downloaded package. Perhaps a help query using your package manager will reveal the appropriate option.
For example, in Arch, a command to install from repository would be:
Code:
pacman -S <name of package>
... whereas the command to install from an already downloaded package would be:
Code:
pacman -U <name of package file, including full path as needed>
Using this table as a guide, you can explore the options to the rpm command.
To install or upgrade a package, use the -U command-line option:
rpm -U filename.rpm
For example, to install the mlocate RPM used as an example in this chapter, run
the following command:
rpm -U mlocate-0.22.2-2.i686.rpm
Distribution: PCLinuxOS2023 CentOS7.9 + 50+ other Linux OS, for test only.
Posts: 17,486
Rep:
pal-app-12.04.0053-1.i386 : is an "/etc/init.d file" + may be an executable.
Suggest : Unpack the package to inspect the content. May trash your OS.
Installing a downloaded package :
cd Downloads/
# dnf install ./pal-app-12.04.0053-1.i386-fedora.rpm
Quote:
Fedora 24. I know its an offshoot of Red Hat
Redhat Enterprise OS, RHEL is based on the Redhat development versions = Fedora.
E.g. RHEL 7 is based on Fedora´s 18, 19, 20 AFAIK.
I am trying to install a package from usb drive but am unsure of the correct command for this. The package is as follows----pal-app-12.04.0053-1.i386-fedora.rpm.
I recommend you use dnf to install your downloaded rpm. I also recommend you copy the rpm to your hard drive first, then from the directory holding the rpm simply
Quote:
dnf install <rpmname>
Installing this way will ensure any dependencies are resolved (or at least identified), and will let the dnf database and history know the package is installed.
Before Fedora 22/23, the package manager for Fedora was yum, replaced recently with dnf.
[EDIT]Oops! I just read rock doctor's post and see the same advice [/EDIT]
it doesn't matter where you install the package from.
advice: open the usb folder in your file manager, right click an empty area and look for an option like "open this folder in a terminal" - then issue one of the commands suggested above.
it doesn't matter where you install the package from.
advice: open the usb folder in your file manager, right click an empty area and look for an option like "open this folder in a terminal" - then issue one of the commands suggested above.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.