Tag Info

Hot answers tagged

6

When you use apt to install a package, internally it uses the dpkg . When you install a package using apt it first create list of all the dependencies and download it from the repository. Once download is finished it use calls dpkg to install all those files satisfying all the dependencies. So if you have a .deb file: You can install it using dpkg -i ...


3

It depends on how npm was configured when it was installed. If npm was installed on Debian from the package that is included in the distribution, then, yes, it is safe. npm with the global option installs to /usr/local, which is explicitly set aside for local software installation and should not conflict with the operating system distribution's own ...


3

From your output: Not a compatible architecture: x86_64 Your options are to download and install a 32-bit version, if that is available. Or install this version on a 64-bit operating system. It is sometimes possible to run 32-bit software on a 64-bit processor, but not the opposite.


3

The best place to install additional software packages in linux is /opt/. So create a directory for MatLab there and install it. # mkdir /opt/matlab # mount -o ro,loop ./R2014a_UNIX.iso /media/cdrom # /media/cdrom/install # umount /media/cdrom As your installer is in the form of an ISO image, mount it in /media/cdrom. I hope the installer ...


3

That error (likely) means you are trying to run a 32-bit executable on a 64-bit system. I'll answer the specific issue here, but see the bottom of the answer for the better approach in general. You say have yum around, so this may help you: yum install lib/ld-linux.so.2 yum will try to find anything that provides that file and then install it. It should ...


3

The problem is with nss old versions. It cannot talk with Fedora site via curl and use old nss library. Just update your nss version to the latest, it solves the problem with the EPEL repo update: $ sudo yum clean all $ sudo yum --disablerepo="epel" update nss This version of nss-3.14.3-4.el6_4.x86_64 works fine with the EPEL repository.


2

Don't Use a Source Package on a Binary Distribution !!! This will lead to unforeseen issues such as: The compiled programs expect the Binaries it uses to be in one place and Ubuntu installs them somewhere differently. Missing Symlinks to Libraries. Mismatched versions. etc. Instead use the official Wine PPA. Open the Software Sources menu by launching ...


2

The only possible scenario in your case is to compare compilation time of the same package with other, similar hardware. We know nothing about your hardware, but just to give you rough idea -- I have a netbook at hand (intel atom CPU, old and weak machine) with gentoo, so I can easily calculate compilation time for all wine packages in last 3 years: $ qlop ...


2

Install your foo.deb file with dpkg -i foo.deb. If there are some errors with unresolved dependencies, run apt-get install -f afterwards.


2

No it's not just a user preference. You can see if there's a package available that provides clang using the package management tool YUM. $ yum search clang Loaded plugins: auto-update-debuginfo, changelog, langpacks, refresh-packagekit =============================== N/S matched: clang ============================ clang-devel.i686 : Header files for clang ...


2

One way to treat this problem consistently is using the modules package. It works by changing environmental variables (e.g. the paths to your binaries). The Environment Modules package provides for the dynamic modification of a user's environment via modulefiles. Modules can be loaded and unloaded dynamically and atomically, in an clean fashion e.g. ...


2

Some specific software can be configured with --program-suffix=-my-version-suffix. You may need to customize some of the other directories, but if you leave the --prefix to the default (/usr/local), that won't collide with the distro-packaged one in /usr. In the general case however, the only distro that attempts to allow coinstallation of arbitrary ...


2

Use dpkg -S to detect whether a particular path is managed by dpkg or not. Some exceptions are: anything under /var/, /etc/, /run/, or /boot (which often contain generated files), and anything that is a symlink to something in /etc/alternatives/ Applications that don't follow standards are expected to be installed under /opt, regardless of whether they're ...


2

This works as expected out of the box on my system. You don't seem to have your sudo configured to allow you to run graphical applications. I haven't encountered this issue in quite a few years but one of these should work: Switch off access control for X xhost + sudo ./qt-opensource-linux-x64-1.6.0-5-online.run Then, activate it again with xhost -. ...


2

It sounds like for some reason, your sudo is not configured to run from the directory you launch it it. I don't know how or why that should be the case but you can try these alternatives (for the sake of these examples, I am assuming your ISO is mounted at /home/slugger/iso, change that to the actual path of the mount point): Use the full path sudo ...


2

This line # mount -o ro,loop ./R2014a_UNIX.iso /mnt/matlab mounts the filesystem contained in the CD / DVD image R2014a_UNIX.iso at '/mnt/matlab', using the loop device. It doesn't actually copy the data from the .iso image file into the '/mnt/matlab' directory. When a process attempts to access the files that appear to be inside the '/mnt/matlab' ...


1

first you need to automate login using ssh keys then write a script to run the install command in a loop You will also need to use one system which will be able to login to all other systems First cd to your home directory to create ssh keys cd mkdir -p .ssh cd .ssh create keys and copy them to all other systems ssh-keygen copy the public key to ...


1

Try: Mounting the ISO. cd to Mount Point sudo sh install or sudo sh install.(prefix) That calls sh (the default shell) with the install script as a parameter, it should be able to run the script correctly as long as it is an sh script (most such scripts are).


1

As you could have guessed, the package elixir isn't available in anything that isn't Ubuntu 12.04, Ubuntu 14.04 (and probably later) and Debian 7. You can check the packages list for Saucy, and you will notice the package isn't there. Trusty repository does have it: Package: elixir Version: 0.13.3-1 Architecture: all Maintainer: Erlang Solutions ...


1

I'm running F20 as well and your version looks a bit different than mine.      I would suggest un-installing it and trying to re-install. If that doesn't work then it's likely that the application maintains configuration info, perhaps in the $HOME/.config directory. I'd attempt to remove any files/directories related to this app and try ...


1

If all the packages follow the patterntextlive-<package> you can use a regex to install them like so: $ sudo yum install texlive-\* You can also specify the pattern like this: $ sudo yum install 'texlive-*' NOTE: In either case we're protecting the pattern above from being interpreted as a glob by theshell. Example $ sudo yum install texlive-\* ...


1

No there is normally no reason not to install as root, this is quite common. No "running" as root is not the same as installing as root. You should not run this as root, it is in my experience very seldom that an X client needs to be run as root. Installing and running are different things. Many items need to be installed as root to get into the directories ...


1

Bash patches are cumulative, the source for 4.3 is effectively 4.3.0, the patches are separate, and all of them should be applied in order, each one will bump you up a patch level. Rarely, a complete source release is made available from the official site, the last one was 3.2.48. What you are observing is that the required patch (the "-030" suffix ...


1

Most of packages that doesn't comes with their man pages in the binary packages (in Debian based distros), instead use a package with the -doc suffix. In the case of OpenJDK, depending the version it could be openjdk-8-doc or openjdk-7-doc. If you install the default-jdk or default-jre metapackage, you can use the default-jdk-doc to use the default ...


1

echo "install firefox" Will echo, i.e., print to the same console, install firefox. You could put anything there, e.g., echo "fire missiles" will print fire missiles. But even if you have some, they still won't be fired ;) && export PS1= The && waits for the previous command to succeed, which it will. export means to set a shell ...


1

Check the dependencies with dpkg -I my.deb and apt-get install the dependencies before dpkg -i my.deb. May be you can copy the my.deb in /var/cache/apt/archives and install it directly with apt-get but I never tried. Doesn't work, apt-get and dpkg are looking for packages listed in archives.


1

You should be able to copy the ISO directly to a usb flash drive and set your computer to boot first from usb (usually F12 when the computer is first booting). According to the official debian site, you can just copy to usb and install that way, so long as you already have a linux system running. If you don't have an existing linux OS already running, or ...


1

Measure GCC Compile Time $> time ./configure $> time make depend $> time make $> time make install The time utility provides statistics on compile time for your system. After you build with the time measurement utility, you can check the size of your directory with: Measure Build Size $> DIRECTORY="/source/compiler/output/directory" ...


1

First, remove wine $> apt-get remove wine Second, install Wine dependency packages (This script contains a manifest of wine dependencies.) Third, build wine from source $> ./configure $> make depend $> make $> make install Fourth, install WineTricks (This package contains enhanced tricks for Windows emulation.)



Only top voted, non community-wiki answers of a minimum length are eligible