Entering edit mode
3.8 years ago
melissachua90
▴
70
I want to use a specific APT program/application on linux, ie apt-midas.
The APT tools can be found here: https://media.affymetrix.com/support/developer/powertools/changelog/index.html
I've installed APT using wget but apt-midas cannot be found. How do I install apt-midas?
You need to make sure, that the
apt-midasis accessible (that means found inPATH).Basically, there are 2 ways:
1) Copy the binaries to location already in
PATH(what is inPATHcan be viewed withecho $PATH)2) Add the directory with the binaries to
PATH(described many times on the web, e.g. here https://linuxize.com/post/how-to-add-directory-to-path-in-linux/)GL
I used this
export PATH=$PWD:$PATHcommand but still am unable to accessapt-midas.Have you verified that the
PATHhas been set? And, more importantly, were you located in the unpacked directory with the midas binaries? Theexportis also one-time setting only.Also note, that there is a
bindirectory, which is the directory that you need to add.One more thing, I've noticed, that on my systems, the binaries were not executable automatically, I've had to use
chmod +x apt-midas(replace theapt-midaswith the program of your choice) to make them executable.Could you post the command outputs if it still doesn't work?
The commands that I ran
The
apt-midas.htmlfile can be located in the directory but I wasn't able to call it withapt-midas.This sequence of commands will not work.
Do this:
Thanks! I managed to launch
apt-midas.However, I want to run the following
and got an error message:
Permissions
From the
ls -lit is obvious, that thecelfiles.txtdoes not have the read attribute set (note the missingr). Set it usingchmod(usage e.g. here https://wiki.archlinux.org/title/File_permissions_and_attributes)