how to get/download yum development tools for ubuntu? - linux

I need to build yum package in ubuntu for Stress 1.0.2 application in ubuntu . I am i beginner and provide me Links to download and learn building an yum installer package.

Beware that RPM/yum packages rarely work properly on Ubuntu/Debian systems.
If you want to try it anyway, you can use the alien tool to convert the RPM into a DEB, then you can use dpkg or gdebi-gtk to install it. The homepage of alien is http://kitenet.net/~joey/code/alien/ and you can install it with apt-get install alien.
Edit: why do you want to use the RPM package given that you can install stress and stressapptest from the Ubuntu repositories?

Related

Installing software package developed for AMD64 when my PC has ARM64 architecture

I'm somewhat of a linux noob, but I'm trying to use a microcomputer with aarch64 Architecture. I am trying to download software using wget and a Public Cert Key for software developed for x64/AMD64. When I try to run
sudo apt-get install <package>
I get:
E: Unable to locate package <package>
I am assuming it is because it was developed for AMD64. From everything I've found, I think I need a cross compiler to translate the binary from AMD to ARM,but nothing I've found has helped me get any closer to actually installing my desired package. Can anyone give me an ELI5 version or point me in the direction of how to educate myself better on system architectures?
You may have better luck using update command:
sudo apt-get update
to upgrade packages lists
sudo apt-get search <generic name of package>
and then
sudo apt-get install <package name found in search>
The generic name I mean "apache" instead of "apache-php-modlib"

Linux: How to install certain old version of a software via apt-get

I am trying to install the same versions of Apache, MySQL and PHP in my Linux PC (Raspberry Debian) as installed in my remote public server.
For instance, I'd like to install the last legacy release of the 2.2 branch, Apache/2.2.31.
apt-cache showpkg apache2
Output:
Package: apache2
Versions:
2.4.10-10+deb8u4 (/var/lib/apt/lists/mirrordirector.raspbian.org_raspbian_dists_jessie_main_binary-armhf_Packages)
But there isn't any information about the 2.2.31 version, neither in "Reverse Provides" section. I can do it by compiling from the sources, but it takes a lot of time. And I tried to find a reliable PPA or a reliable sources for deb packages, without any success.
How can I do it?
If APT tracks the specific version you are looking for, (like Kyle said) then it's pretty easy.
sudo apt-get install <pkg_name>=<pkg_version>
or
sudo apt-get -t=<target_version> <pkg_name>
To see which packages are tracked, run
apt-cache showpkg <package_name>
Unfortunately though, if a particular version is not managed by the APT, then you are out of luck using APT. It might be managed by some of the other package managers out there.
Ref. How can I downgrade a package via apt-get?
If you have the version number, or the target release, apt-get supports choosing a particular version or target release. More details can be found on manual page of apt-get. It can also be accessed from a terminal by typing man apt-get.
sudo apt-get install <package-name>=<package-version-number>
or
sudo apt-get -t=<target release> install <package-name>

Is it possible to install an older Boost library on Ubuntu

I'm trying to install libboost1.46-all-dev on Ubuntu 13.04 because it's necessary for our project.
Unfortunately I was not able to find it in my repos while doing
sudo apt-cache search libboost1.49-all-dev
Default is actually libboost1.46-all-dev. Does anyone has an idea where I can find the older package and install it using apt-get ?

Installing Dependencies SciKit/NumPy/SciPy

I'm trying to install SciKit learn on a Red Hat Server. According to documentation on Scikit-Learn's website, I can run the following command on Red Hat to install the the dependencies.
sudo yum -y install gcc gcc-c++ numpy python-devel scipy
However, I don't have root privileges, so I am wondering if I can some how modify the above command to run the command?
No, you cannot modify the package base of your system since you are not root and not in sudoers list.
However, you can try to build that packages from sources, but I'm sure that you will come across a lack of *devel packages but you will not manage to install them due to the same reason.

Downloading 'Yum groupinstall "development tools"'?

I've looked all over and build essentials are all I see that was replaced by Development tools. When I type the command I receive "no such command".
What is the alternative to this?
apt-get build-dep package-i-want-to-build to get everything you need to build package - often the easiest way to get the dev tools is to pick a sufficiently complicated package like pidgin and run this
or
apt-get install build-essential to just get a compiler
Ubuntu doesn't use yum. You still want to use the apt instructions.
Debian, Ubuntu, Mint, etc. have APT package manager, not YUM. In these OSes you generally need to do following to install basic development tools, like C and C++ compilers, binutils, etc:
sudo apt install build-essential

Resources