Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I don't know if this is the right forum to ask, I have started to use Linux (OpenSUSE). I need to install mplayer on it. I unpacked the mplayer archive. Then in the command screen I navigated to the folder containing the unpacked folder of mplayer. Then I used the following commands


but after that when I entered the make command it is showing ...typo doesn't exist or so... I think only after make and make install I can install this program to my system... please help.

share|improve this question
What does “typo doesnt exist” mean? Always copy-paste complete error messages. – Gilles Mar 5 '11 at 13:09
you are looking for possibly jeffman.com/kb/entry/69 – Nikhil Mulley Dec 16 '11 at 10:46
up vote 5 down vote accepted

I was about to say the same thing as @geekosaur, but noticed in the comments that you don't have internet connection on that PC. In general, on Linux software is divided into packages (mplayer, sudo, zypper are examples of packages). Packages are stored in repositories and have dependencies on other packages. To save you the task of managing them, there are package managers, such as zypper.

You don't normally install software from source, but use the package manager that comes with your system. Now the big problem is that you don't have internet connection on the computer that you want to install software on. If possible, it's a lot easier to plug the cable in and let zypper download what it needs. If that's not possible, most package managers have the ability to install from a local repository.

I'm not a SUSE user, but from the documentation you can download the required .rpm files to make a local repository, then tell zypper about it:

# zypper ar my/dir/with/rpms local

After that you can install mplayer without internet connection:

# zypper install mplayer

If zypper then tells you that it needs to install other packages as dependencies (and it will fail because there is no internet connection), you will have to look for the RPM files it need, download and put them in my/dir/with/rpms (BTW that's a fake path, change it to whatever path you store the files).

share|improve this answer
Upvoted, excellent explanation of package management in general and how zypper works in particular. I'm more of a Debian guy myself, so I don't have any experience with it. – Shadur Mar 5 '11 at 12:20
The interesting question here is, can you get the package manager to tell you (on a system without internet access) what packages need to be downloaded? This can be done with apt-get using the -s option. Hmm, this might be relevant - stackoverflow.com/questions/6961504/… – Faheem Mitha Dec 16 '11 at 4:43

You'd probably be better served by

$ sudo zypper install mplayer

If you really want to compile from source, you'll need to install a compiler and toolchain.

$ sudo zypper install -t devel_C_C++

You will also need to install various development library packages; which ones depend on the version of mplayer and what features you want to use. In general, you're better off with the pre-built one; mplayer is an absolute beast to build.

share|improve this answer
sir i am absolute beginner to this,do i require internet for these commmands,last time i wer trying $sudo install make ...it wer trying to connect to internet? – sujith Mar 5 '11 at 8:49
Well, yes - zypper is a package manager. When ordered to install software, it checks its list of available package archives for the package name you asked for, then downloads and installs the latest version of the package available in the repositories it knows about. – Shadur Mar 5 '11 at 8:51
@sujith Put more bluntly, it's generally better to not try to install/compile software from source until you've learned your way around linux a bit more so that if/when you break something, you have a chance of knowing what you broke, why it broke and hopefully how to fix it. – Shadur Mar 5 '11 at 8:52
@shadur ok i agree..but this is important for me.... i dont have connectivity with the linux pc and i need to install this mplayer somehow....is there any other way to install that doesnt require internet connectivity or can i download the make tool from this pc and use it in linux pc – sujith Mar 5 '11 at 9:17
@sujith In that case you'd be better served manually downloading the package for your distro instead and installing it that way. – Shadur Mar 5 '11 at 9:36

For installing SMPlayer in Linux, you need to do the following:

  • First, you have to download the .deb package.
  • Then install .deb package using the command given below:

    sudo dpkg -i smplayer_0.5.0_i386.deb
  • Now, you may need to install libqt4-gui, libqt4-core, etc. You can install them using the following command:

    sudo apt-get install -f

This will complete your installation process.For further more details, you can visit the following link: http://www.smplayerdownload.com

share|improve this answer

This looks like a good way to go - yumdownloader. This is part of the yum-utils package, which is available on OpenSUSE.

So you might be able to use something like this on your machine to get a list of the urls you need to download from:

yumdownloader --urls --resolve mplayer

I'm not sure from the (sparse) documentation whether --resolve and --urls can be used together, and I don't use RH based systems, so can't easily check.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.