English
Ask Your Question
1

How to install new software offline

asked 2012-04-24 01:37:09 +0000

Bugs gravatar image

updated 2014-09-28 17:39:50 +0000

mether gravatar image

Hi there, I found the problems on each installing new software on Fedora 16. I am newbie Fedora user. I do not know why I chose Fedora for my OS in my PC, I think it is interesting. I always look for rpm file for my new software package. But I still meet the problem every installing under comman line $su -c 'yum install *.rpm'. Any other way to install rpm file or other file (deb, sh, etc)? Please help me

Cheers Bugs

edit retag flag offensive close merge delete

4 answers

Sort by ยป oldest newest most voted
1

answered 2013-12-15 08:26:17 +0000

Rahul sharma gravatar image

hey bug, here is solution for you,

For Download a software or rpm with dependencies Type

where, --downloadonly = just download it.

--downloaddir= directory where you save rpms

sudo yum install --downloadonly --downloaddir=/save/to/dir software name

Like you want to install VLc player then just type

sudo yum install --downlaodonly --downlaoddir=/home/user/Downloads vlc

(user = user-name)

For installing software cd /path/to/dir

sudo rom -ivh *rpm or `sudo rpm -Uvh *rpm`

If u found useful mark my answer as useful bro :)

edit flag offensive delete link more

Comments

It is better to install packages with yum - even locally downloaded ones. rpm -ivh won't handle dependencies for you.

randomuser ( 2013-12-16 05:40:33 +0000 )edit

yeah !!! i want this solution thanx, Rahul sharma

codedecoer ( 2013-12-16 15:24:17 +0000 )edit

[root@localhost fedora]# sudo yum install --downlaodonly --downlaoddir=/home/user/Downloads vlc Yum command has been deprecated, redirecting to '/usr/bin/dnf install --downlaodonly --downlaoddir=/home/user/Downloads vlc'. See 'man dnf' and 'man yum2dnf' for more information. To transfer transaction metadata from yum to DNF, run: 'dnf install python-dnf-plugins-extras-migrate && dnf-2 migrate'

Last metadata expiration check performed 0:00:00 ago on Fri Oct 28 08:26:00 2016. No package --downlaodonly available. Error: no package matched: --downlaodonly

I have found the above error.

blackSwan ( 2016-10-28 02:34:38 +0000 )edit
1

answered 2012-04-24 19:37:46 +0000

Akshay gravatar image

if you are installing without internet connection and without yum then make sure that you install all the dependencies needed by that package they are not proprietary software the are open source so you don't find the dependencies bundled in package you have install them first and then install the main software as guided by @ztank1013

edit flag offensive delete link more
1

answered 2012-04-24 06:07:56 +0000

ztank1013 gravatar image

updated 2012-04-24 08:12:28 +0000

What about using gpk-application? Invoke it from the command line or just find it using the search functionality under Activities.

It is a nice GUI utility to basically Add/Remove software without using the command line.

Alternatively double click the rpm file you downloaded and just install it (it will prompt for a password to complete the operation).

If you downloaded the rpm package and want to use the command line to install it you may use the following (I am assuming you are in the wheel group and can run all the commands as super user using sudo):

sudo rpm -Uvh package-name.rpm

This will work only if all the package's dependencies are satisfied. If not, you will have to install one by one all the missing packages following the suggestions given by the output of the previous command.

edit flag offensive delete link more
1

answered 2012-04-24 14:30:27 +0000

also Yumex is a useful utility , try installing it and using it .

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Use your votes!

  • Use the 30 daily voting points that you get!
  • Up-vote well framed questions that provide enough information to enable people provide answers.
  • Thank your helpers by up-voting their comments and answers. If a question you asked has been answered, accept the best answer by clicking on the checkbox on the left side of the answer.
  • Down-voting might cost you karma, but you should consider doing so for incorrect or clearly detrimental questions and answers.

Stats

Asked: 2012-04-24 01:37:09 +0000

Seen: 27,342 times

Last updated: Dec 15 '13