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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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
Posts: 1,252
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: PCLinuxOS2020 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,401
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.
Distribution: Slackware (current), FreeBSD, Win10, It varies
Posts: 9,952
Rep:
Quote:
Originally Posted by ondoho
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.