Фантазии о Вселенной и мой личный сайт
Листинг пакетов lubuntu 18.04 LTS

Листинг пакетов lubuntu 18.04 LTS

При установке Lubuntu у меня постоянно возникает потребность в установке пакетов заново. Вот их список.

apt install mc php vim vlc keepassx gparted mysql-client mysql-server php-mysql php-sqlite3 php-mbstring pv ffmpeg phpmyadmin virtualbox logisim php-xdebug git subversion default-jre default-jdk gcc g++ libx11-dev chromium-browser gtk2.0-dev libxrandr-dev make sshfs gtkwave iverilog screen atop wine-stable winetricks fasm net-tools kdenlive audacity composer geany nasm clang sqlite libsdl1.2-dev libsdl2-dev gedit cmake arduino curl whois traceroute rpm glibc-source gcc-4.7 flashplugin-installer pepperflashplugin-nonfree dosbox gnome-screenshot sendmail libgtk2.0-dev libgtk3.0-cil-dev build-essential gnome-devel freeglut3-dev blender rar binutils-arm-linux-gnueabi binutils-arm-none-eabi gcc-arm-linux-gnueabi gcc-arm-none-eabi dmg2img unar p7zip-full icnsutils pngquant ncompress liballegro4-dev z80asm z80dasm fceux pwgen php-imagick php-dev libgraphicsmagick1-dev graphicsmagick rustc gimp libgl1-mesa-dev mesa-common-dev libgl1-mesa-glx libglew2.0 libglew-dev php-bcmath openjfx libxft2 sphinxsearch sdcc gnome-commander nmon obs-studio ssh simplescreenrecorder tor inkscape libreadline-dev libreadline5 firewalld iotop python-pip pythonpy python3-dev python3-pip python3-mysql.connector libmysqlclient-dev python-opencv clinfo ocl-icd-* opencl-headers openvpn cherrytree fdupes lua50 beignet php-imap libjpeg-dev libcurl4-openssl-dev

apt remove light-locker
Другие установки
update-pepperflashplugin-nonfree --install
service apache2 start
phpstorm
Python
pip install mysql-connector

source venv/bin/activate
pip3 install configparser
pip3 install mysql
pip3 install mysqlclient
pip3 install mysql-python
pip3 install mysql-connector-python
pip3 install mysql-connector-python-rf
pip3 install virtualenv

pip3 install --egg mysql-connector-python-rf
pip3 install mysql-connector-python --allow-external mysql-connector-python

pip3 install opencv-python --user

Pycharm: File -> Settings -> Project -> Project Interpeter:
    mysql
    mysql-client
    mysql-connector-python
    mysql-connector-python-rf

bochs 2.6.9:

./configure --enable-x86-64 --enable-debugger --enable-disasm --enable-readline --with-all-libs --with-x11 && make && make install
bochs.bxrc: display_library: x, options="gui_debug"

Отшлифовка напильником 18.10

Установка переключателя раскладки: поменять keyboard layout на legacy

Ссылка на раскладку

setxkbmap -option grp:alt_shift_toggle

/usr/share/X11/xkb/symbols/ru:
xkb_symbols "dos" {
    ...
    key <TLDE> { [   parenright,  parenleft   ] };
    key <AE04> { [   4,     U003B    ] };
    key <AE05> { [   5,     percent ]};
    key <AE06> { [   6,     colon ] };
    key <AE07> { [   7,     question ]};
    key <AE08> { [   8,     U002A ]};
    key <AE09> { [   9,     U0028 ]};
    key <AE10> { [   0,     U0029     ] };
    key <AB10> { [   period, comma ] };
}

Qartus Prime 15.1.0:

wget -q -O /tmp/libpng12.deb http://mirrors.kernel.org/ubuntu/pool/main/libp/libpng/libpng12-0_1.2.54-1ubuntu1_amd64.deb
dpkg -i /tmp/libpng12.deb
rm /tmp/libpng12.deb

Настроить порт

Удалить из процессов jtagd

/etc/udev/rules.d: Добавить файлы

51-altera-usb-blaster.rules
    SUBSYSTEM=="usb", ATTR{idVendor}=="09fb", ATTR{idProduct}=="6001", MODE="0666"
    SUBSYSTEM=="usb", ATTR{idVendor}=="09fb", ATTR{idProduct}=="6002", MODE="0666"
    SUBSYSTEM=="usb", ATTR{idVendor}=="09fb", ATTR{idProduct}=="6003", MODE="0666"
    SUBSYSTEM=="usb", ATTR{idVendor}=="09fb", ATTR{idProduct}=="6010", MODE="0666"
    SUBSYSTEM=="usb", ATTR{idVendor}=="09fb", ATTR{idProduct}=="6810", MODE="0666"

51-usbblaster.rules
    SUBSYSTEM=="usb",ENV{DEVTYPE}=="usb_device",ATTR{idVendor}=="0403",ATTR{idProduct}=="6010",MODE="0666"

udevadm control --reload

Установка MYSQL на чистую Centos 7

yum update
yum install wget
wget http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm
sudo rpm -ivh mysql-community-release-el7-5.noarch.rpm
yum update
yum install mysql-server
systemctl start mysqld
mysql_secure_installation

Разное

Удалить /etc/cron.daily/mlocate