Install audacity with command line. No root access - audio

Is there an easy way to install audacity from the command line with no root access ?
I don't have either apt-get:
apt-get: command not found
Thanks!
EDIT:
Basically, I am looking for an audio player, with a play bar, and in which I can see the signal and zoom in and out.

Related

How to view an executable file with no filetype

I have an application on my raspberry pi with no filetype at the end. When I double click the file it executes it fine but I want to look at the code, and suggestions. Running ls -l in the directory shows me the file is -rwxr-xr-x. what does this mean.
First, you need to find out what type of file it is.
That is what file command is for, open a terminal and type:
file my_executable
If it tells you this is some kind of script file, like BASH or Python, right click it, and try to open with an editor, or in the terminal type:
nano my_executable
But, if the type is ELF, it means this is a binary, and you can not see its source code in the file it self.
You can still try disassembling it with a program like Ghidra, but you would be better off trying to understand where the file came from (did you install it with apt command?) and see if there is source available.
Note that for any free software package you install through:
sudo apt-get install my_package
You can download the source code with command:
apt-get source my_package
This does not require sudo (it does not change your system), but it will only work for free software / open source packages, which is almost all packages in the default Raspbian repositories.

Cytoscape and linux

Trying to install Cytoscape program on linux cytoscape. And I don't know how because first install button transfers me to HTML page and nothing is downloadable. (I have java installed). I tried to download tar.gz file but I am stuck, because there is no configure file and it says I have no permission for it. What should I do?
Once java 11 is installed on your computer try this:
ctrl+alt+T #open Ubuntu's console
cd /home/fulanita/Downloads #this is the directory where my computer has cytoscape.
chmod +x ./Cytoscape_3_8_1_unix.sh
./Cytoscape_3_8_1_unix.sh #3.8.1 is the last version for Ubuntu
the program will start to install
If anyone comes here in search for an answer I found a solution.
You go to you directory where you keep extracted tar.gz
with cd -Folderdestination/ you locate a folderwhere you keep a file named cytoscape.sh, and with command
sudo sh cytoscape.sh
install the program.

Raspberry pi motion detection using raspi camera

I have installed motion, in pi3. connected pi camera. configured motion.conf according to my needs(pi/motion/)and started motion. still i am not able to see the pics created. any additional steps needed to configure this. steps in detail.
1.Connected raspi cam
2.Installed motion.
3.raspistill command worked.
4.edited motion.conf
started motion "sudo service motion start"
Later,Found that we need to create /dev/video0, so executed
sudo modprobe bcm2835-v4l2
Added below to etc/modules
/#camera with
v4l2 driver bcm2835-v4l2
After this also its not working any idea, where/what to check next?
Make sure motion is using motion.conf. It's something very stupid but I remember struggling with it because if you don't tell the program to look at /etc/motion/motion.conf it will try to find motion.conf in your current folder.
So you may want to specify the conf location with :
motion -c /path/to/motion.conf

node.js help for creating a silent doorbell

I'm not a coder (just wanted to get that out there). I read an article about creating a silent doorbell (I have a dog that's insane).
https://github.com/initialstate/silent-doorbell/wiki/Part-2.-Finding-the-Button's-Address
I'm relatively computer literate. I followed the instructions for windows and download node.js. The instructions say to open a node.js command prompt and put in the following command:
sudo apt-get install npm
sudo apt-get install libpcap-dev
npm install node-dash-button
the problem i'm having is 1) I'm getting an error saying "apt-get" is not recognized as an internal or external command operable program or batch file.
Reiterating that I am no nowhere near as sophisticated as the users i've seen on here and am just a guy trying to keep the baby sleeping b/c the dog can't shut up - is anyone able to help so I can then go to the next step of instructions?
Thanks so much in advance.
Brad
sudo apt-get is a linux packet manage, so you wouldn't want to do this on windows. As they have mentioned raspberry-pi's I gather that they have made the assumption that you would be on linux.
If you ran that command in a linux terminal it would install the preqequisites and then install node-dash-button in node.
Try just running the nodejs packet manager part:
npm install node-dash-button
The rest of that line is not node or windows.
Hopefully this will get you to the next stage :)
The whole tutorial asumes you being on a Linux/Unix system.
If you solve this issue you will run into the next if you don't know what the commands mean and how to translate them to windows.
For example
sudo node bin/findbutton
is a linux/unix command as well (which is the next step in your tutorial).
So i strongly suggest setting up a VM with linux (debian should do).

/usr/bin/time: No such file or directory

I'm trying to run the time command for a file on a virtual machine running Fedora 19 64-bit and I get the message "/usr/bin/time: No such file or directory". I tried googling, but it appears it's something that I should already have. How do I get this on my computer?
For those on a raspberry pi or similar debian-based distributions, I found that I could install the package time (sudo apt install time) to obtain access to the time command.
Edit: For Fedora-based systems, the package name might be different. Try a dnf search time, followed by a sudo dnf install {package_name}. I don't have a Fedora machine immediately to hand to get the exact package name from.
bash/zsh/modern shells usually implement a basic time command as a builtin. So it won't exist on the filesystem, but time mycommand should work.
If you want the "proper" time command (with more options eg: -l/-v), then you'll need to install it via apt/yum/etc. You'll need to run it as /usr/bin/time mycommand so the shell-builtin doesn't get invoked.
It might be in other locations. I'd start by typing:
which time
This command will give you the path to time, if it's anywhere in your path.
If you need to build it yourself, you can get the source here:
http://directory.fsf.org/wiki/Time

Resources