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.
Whereas you can move an entire directory using the mv command, you cannot copy a directory using cp, without specifying the -r option. acid_kewpie already suggested the correct solution, have you tried it?
Furthermore, take in mind that you can extract an archive to another location (instead of the current directory) using the -C option of tar.
ok, it successfully moved to the opt folder, but I am not sure how to install it. I am trying this "sudo apt-get install /opt/cairo-deck
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package"
But I am obviously doing it wrong. Please help on the issue
don't bother with the tarballs. Go the sites in the links and instructions for installing it. Download the .deb files. Click the .deb files to install them, in the order they indicate.
There are two .deb files to download, one is for the plugins, the other isn't. Dowload both. Click to install the non-plugins .deb file first, then click to install the plugins .deb file.
.deb files are like .rpm files for fedora and other rpm-based distributions. .deb files are for debian-based systems, like ubuntu. People take the source code (what you have been trying to install, tarballs) and make it easier for people by making .deb files out of them.
In general, when you want to install software on ubuntu, check to see whether or not it is in some repository using synaptic (you can google to see if there is some repository you can add to the synaptic list). You can also enable the universe and multiverse ubuntu repositories using synaptic. The reason to use synaptic and repositories is that the repository is a collection of all the .deb files needed (some .deb files depend upon other .deb being installed first, like the example of the non-plugin .deb file for cairo-dock needing to be installed before the plugin .deb file can be installed). If the package is in a repository, then you know that all of the .deb files your package depends upon are also in the repository, and synaptic will figure out which .deb files are needed and install them in the required order. This is called handling dependencies.
If it is not in a software repository, the next thing to do is do a google search to find if there is a .deb file for your package. Sometimes you will find that to install the .deb file, you must first have another .deb file installed and have the correct version number installed. This is a little more difficult than using synaptic, because you will have to track down and install the .deb files your package requires yourself.
Tarballs are used as a last resort in a debian-based system.
Using the package manager (synaptic) has another big advantage. You can run synaptic to update your system. This will check all of your packages and compare them with the latest versions in the repositories you use. If there is an update, synaptic will make sure to update your packages for you, installing and un-installing all the .deb files that are required to do this.
If you have problems with ubuntu, you can check with the friendly ubuntu support forums here:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.