EasyManua.ls Logo

Apache Labs ANAN-G2 - 7.3 Some Common Linux Commands; 7.4 Software Installation

Apache Labs ANAN-G2
35 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
ANAN-G2 Manual Page 30 of 35
Remember linux commands and filenames are case sensitive.
Command
Function
ls
List files
ls -a
List files, including hidden files
cd <foldername>
Change directory to folder <foldername>
cd ~
Change to home folder
rm <filename>
Delete specified file
rmdir <foldername>
Delete named folder (which must be empty)
./<filename>
Execute the file <filename> in the current folder
top
Displays the CPU usage of current programs. Ctrl-c to exit.
(This is a good way to see if p2app is running because it will show
up!)
ps -ax
Shows a list of all executing processes
geany ><filename>
Opens the geany test editor in the named file
shutdown
Shuts down the computer
7.4 Software Installation
If it is necessary to re-install any of the supplied software, please follow these steps.
7.4.1 Driver and SATURN Linux Software
1. Open a command window
2. Type cd github/Saturn
3. Type git pull
4. Type cd sw_projects/P2_app
5. Type make
There are instructions to set up the files for the raspberry Pi from scratch provided in the Saturn
repository, project_documentation folder. The Saturn repository is located at:
https://www.github.com/laurencebarker/Saturn
7.4.2 piHPSDR
piHPSDR can be copied and installed from the repository: https://github.com/n1gp/pihpsdr
Instructions are available in the release/documentation folder.
7.5 Missing Desktop Icons
If you are missing desktop icons you can recreate them simply.
7.5.1 Icon for p2app
1. Open a file editor. Your Raspberry pi will have several, and an editor called “geany” can be
loaded from the programming menu.
2. Enter (or paste) the text below into your editor window
[Desktop Entry]
Name=p2app
Comment=Saturn FPGA Register Read/Write
Icon=/usr/share/pixmaps/obconf.png
Exec=/home/pi/github/Saturn/sw_projects/P2_app/p2app
Type=Application