Skip to content

Latest commit

 

History

History
187 lines (163 loc) · 6.95 KB

File metadata and controls

187 lines (163 loc) · 6.95 KB

1. Office stuffs

1.1. Install maxima and wxmaxima, a symbolic mathematics program

pkg install -y maxima wxmaxima

1.2. Install dia; a Viso-like diagramming tool

pkg install dia

1.3. Install vim and tmux

pkg install -y vim tmux

1.4. Install latex

For installing the full Texlive package

pkg install texlive-full

Alternatively, especially if you are installing KDE then you may choose Kile, KDE Integrated LaTeX Editing Environment from editors/kile/

pkg install kile

1.5. Install mupdf; a lightweight PDF, XPS, and E-book viewer.

pkg install mupdf

1.6. Install zotero; reference management software to manage bibliographic data.

pkg install zotero

1.7. Install mutt

pkg install mutt

To connect to gmail you will also need openssl

pkg install -y openssl

1.8. Install homebank

pkg install -y homebank

1.9. Install zim

pkg install -y zim

1.10. Install kalzium

pkg install -y kalzium

1.11. Install transmission

pkg install -y transmission

1.12. Install geany and geany-plugin-markdown

pkg install -y geany geany-plugin-markdown

1.13. Install R and RStudio

pkg install -y R RStudio

2. Programming Environment

2.1. Clojure

2.1.1. Install Leiningen

pkg install leiningen

But as of this writing Leiningen depends on OpenJDK8. However, some Clojure projects may depend on packages (Clojure or Java packages) that uses Java classes that require newer Java compilers. Then, install Leiningen without using thepkg approach.

  • Install the latest OpenJDK

  • Set the default version to the latest version

  • Download the lein script

  • As superuser copy the lein script to path /usr/local/bin/

    cp /home/lungsi/Downloads/lein /usr/local/bin/

  • Set it to be executable

    chmod a+x /usr/local/bin/lein

  • Run the lein script as a normal user

    /usr/local/bin/lein

My setup

  • Install script method because pkg method will marry Leiningen to the openjdkX version it was used to build (at the time of this writing it is opendjdk8). However, script version will only link to the Java path of the home environment. Thus, whatever OpenJDK version is installed and set as the default (if multiple versions are installed) will be used when lein repl is called.
  • Edit/write code using intellij as normal user and run leiningen repl as superuser
    • Set JAVA_HOME to latest version in C shell (see 4.1) for superuser. This is not done of the normal user because intellij (installation instruction below) at the time of this writing depends on openjdk8 and therefore the home environment under the normal user must have openjdk8 in its Java path.
  • Why?
    • Sometimes a clojure project may have dependency (especially Java package) that contains <SomeClass>.java that requires newer versions of Java compiler.

2.1.2. Install intellij IDEA

pkg install intellij

NOTE: To setup for REPL, File > Project Structure > Modules and under Module SDK pull-down menu pick Add SDK > JDK and choose the installed location of openjdkX. To find where openjdkX is installed use pkg info; example, pkg info openjdk17 or pkg info -f openjdk17.

2.2. Python

2.2.1. Install PyCharm

pkg install pycharm-ce

2.3. Rust

2.3.1. Install rust

pkg install rust

2.3.2. Install RustRover

pkg install jetbrains-rustrover

2.3. Docker environment

2.3.1. Install docker client

pkg install docker

2.3.2. Install docker-machine

pkg install docker-machine

3. Graphic Editing

3.1. Install gimp

pkg install gimp

3.2. Install inkscape

pkg install inkscape

3.3. Install openscad

pkg install openscad

4. Multimedia

4.1. Install mpv

pkg install mpv

5. QMK Keyboard

Install package for QMK CLI

pkg install -g "py*-qmk"

To view instruction post-installation

pkg info -Dg "py*-qmk"
  1. Add the user to the "operator" group:

    pw groupmod operator -m <username>

  2. Add the following ruleset to vi /etc/devfs.rules:

    add path 'ttyU*' mode 0660 group operator

  3. Enable "qmk" ruleset:

    sysrc devfs_set_rulesets+="/dev=qmk"

  4. Restart the devfs service to load the new rules:

    service devfs restart

Then, qmk setup will result in

☒ Could not find qmk_firmware!
Would you like to clone qmk/qmk_firmware to /home/<username>/qmk_firmware? [y/n] y
Cloning into '/home/<username>/qmk_firmware'...

Therefore, pulling in qmk_firmware from multiple github repositories. Depending on your internet this might take some time to complete.

Finally, depending on your initial installation state of your PC you may need to

  • Install pip as the superuser

    pkg install devel/py-pip

  • Update the dependencies for qmk_firmware

    pip install -U -r /usr/home/<username>/qmk_firmware/requirements.txt