Upgrade Laptop: Difference between revisions

From artserver wiki
No edit summary
No edit summary
Line 46: Line 46:


virtualbox
virtualbox
== python ==
* pyenv


=Debian=
=Debian=
Line 58: Line 55:
* Run the isenkram-autoinstall-firmware command as the “root” user.
* Run the isenkram-autoinstall-firmware command as the “root” user.
* reboot: make sure all kernel modules are properly initialized
* reboot: make sure all kernel modules are properly initialized
== Setup Python version and virtualenvs with pyenv ==
Using https://realpython.com/effective-python-environment/ as reference
* install [https://github.com/pyenv/pyenv pyenv] <ref>https://brain2life.hashnode.dev/how-to-install-pyenv-python-version-manager-on-ubuntu-2004</ref>
* install [https://github.com/pyenv/pyenv-virtualenv pyenv-virtualenv]
* search for python remote versions available <code>pyenv install -l | grep -Po "^\s\s3\.9.*"</code> using python 3.9
* install python version: <code>pyenv install 3.9.14</code>
* set global python version <code>pyenv global 3.9.14</code>
* check global python version:
** restart shell: <code>exec $SHELL</code>
** what python version: <code>python -V</code> <code>>Python 3.9.14</code>
** which python <code>which python</code> <code>>/home/andre/.pyenv/shims/python</code>
=References=

Revision as of 10:08, 22 September 2022

backup

backup list

/home/andre/bin /home/andre/CalibreLibrary* /home/andre/Documents /home/andre/Pictures /home/andre/.bashrc /home/andre/.icedove /home/andre/.mozilla /home/andre/.profile /home/andre/.Xauthority /home/andre/.xinitrc /home/andre/.ssh /home/andre/zotero.sqlite /etc/apt /etc/wpa_supplicant /usr/local/etc /var/www/html/wiki


Install software

apt

alsa-utils aptitude calibre curl evince feh ffmpeg gimp git gzip hdf5-tools i3 i3lock imagemagick inkscape libreoffice make mariadb-server mpv pandoc passwd pavucontrol pdftk pulseaudio-utils pulseaudio rdiff-backup sane-utils snap sudo terminator thunar thunderbird tmux unzip usbutils vim wireless-tools wpasupplicant xorg xsane zip

snap

1password

code

firefox

zoom-client

chromium sublime

compiled

tinc

own apt sources

vagrant

ansible

docker

virtualbox

Debian

non-free software

 Once logged in into the installed system, it is possible to automate the detection of missing firmware, and to perform the required steps to enable them following this procedure: [1]
  • Install the isenkram-cli package.
  • Run the isenkram-autoinstall-firmware command as the “root” user.
  • reboot: make sure all kernel modules are properly initialized


Setup Python version and virtualenvs with pyenv

Using https://realpython.com/effective-python-environment/ as reference

  • install pyenv [2]
  • install pyenv-virtualenv
  • search for python remote versions available pyenv install -l | grep -Po "^\s\s3\.9.*" using python 3.9
  • install python version: pyenv install 3.9.14
  • set global python version pyenv global 3.9.14
  • check global python version:
    • restart shell: exec $SHELL
    • what python version: python -V >Python 3.9.14
    • which python which python >/home/andre/.pyenv/shims/python

References