Friday, August 14, 2015

Linux Quick Help & Tips

Run these in a Terminal, in this order; to fix broken packages/system:
  sudo apt-get autoclean
  sudo apt-get autoremove
  sudo apt-get clean
  sudo apt-get update
  sudo apt-get upgrade
  sudo apt-get dist-upgrade
  sudo apt-get dselect-upgrade
  sudo apt-get -f install
  sudo dpkg --configure -a
  sudo apt-get check
  sudo dpkg -C

Set your OpenSSL Security:
   openssl dhparam -out dhparams.pem 2048

Get that list of files at the address' in "get-list":
  wget -c -i get-list.txt

Stitch split-files back together (7zip file example):
  cat file7z.001 file7z.002 >> full.7z
 Note:
   Achive Manager does this automagically to extract files
   as long as all pieces are in the same folder.

Setup Ubuntu to Build(Add Repository, then Install):
 Add Ubuntu Make Repository:
  sudo add-apt-repository ppa:ubuntu-desktop/ubuntu-make

Update and Install Make in one command:
  sudo apt-get update && sudo apt-get install ubuntu-make

Use same syntax to update and install other dependancies
 (don't use the quotes; "packagename" is example):
  sudo apt-get install "packagename"

Distro specific Packages can be found here:
  https://packages.ubuntu.com/
  https://packages.debian.org
  https://packages.slackware.com/
  https://www.archlinux.org/packages/
  https://packages.gentoo.org/

Mirror:
 https://distro.ibiblio.org/

If all else fails try this:
(don't use the quotes; "searchterm" is example)
  https://www.google.com/search?q="searchterm"

Keywords hint for "searchterm":
  "would most likely be error you are seeing....."

Google likes to be talked to, or, asked; in plain language too.
e.g.
   What is the color blue?

Recommend looking here for more info:
  https://www.linux.org/forums/beginner-tutorials.53/
  https://www.ee.surrey.ac.uk/Teaching/Unix/

..Others:
  https://www.techradar.com/us/news/software/operating-systems/beginner-s-guide-to-linux-where-to-start-1066778
  https://www.linux.com/learn/tutorials/784060-the-complete-beginners-guide-to-linux

Even more:
  https://www.google.com/search?q=linux+cheat+sheet



No comments :

Post a Comment

Contact Form

Name

Email *

Message *