1.linux_hotspot

2.vim

3.android connect with linux

4.python 编辑器thonny

5.QQ

6.weixin








1.linux_hotspot

https://blog.csdn.net/weixin_41114301/article/details/127165479

git的依赖:
sudo apt-get install hostapd iptables dnsmasq
安装git:
sudo apt-get install git




git clone  https://github.com/oblique/create_ap 
cd create_ap
sudo make install



sudo apt install net-tools




如果你的无线网卡名是wlp0s20f3
有线网卡名是enx00e1990015df
你想创建的热点是my_linux_hotspot
密码是12345678


#开启热点,可以关闭终端, ctrl+c可以终止热点
sudo create_ap wlp0s20f3 enx00e1990015df my_linux_hotspot 12345678  

此时可以看到给出的日志:PID:11111


想关闭热点要在后台进程kill掉
ps -elf
sudo kill 11111









查看网卡:
ifconfig #冒号前的就是你的网卡名
iwconfig 


#这条命令会列出你的所有网卡名之后就可以所有设备都上网了。
cat /proc/net/dev | awk '{if($2>0 && NR > 2) print substr($1, 0, index($1, ":") - 1)}' 



如果想卸载:
make uninstall



2.vim

sudo apt-get install vim


检查:
vim /etc/vim/vimrc




卸载vim
sudo apt-get remove vim



3.android connect with linux

https://github.com/Genymobile/scrcpy/blob/master/doc/linux.md



# for Debian/Ubuntu
依赖:第一次可能中止,在来一遍:
sudo apt install ffmpeg libsdl2-2.0-0 adb wget \
                 gcc git pkg-config meson ninja-build libsdl2-dev \
                 libavcodec-dev libavdevice-dev libavformat-dev libavutil-dev \
                 libswresample-dev libusb-1.0-0 libusb-1.0-0-dev

用到git的地方,校园网可能连接超时。换自己热点:
copy项目安装:
git clone https://github.com/Genymobile/scrcpy
cd scrcpy
./install_release.sh


git pull
./install_release.sh


运行:
scrcpy

设置usb调试打开。允许连接。(允许可以管理文件。)




一些scrcpy的使用操作,参看:
https://blog.51cto.com/u_15389271/6193509




4.thonny

sudo apt-get install thonny




5.QQ

直接qq官网安装deb包即可。安装完几乎只花了200MB总共



6.weixin

主要参考:https://blog.csdn.net/weixin_43508491/article/details/126340918


sudo vi /etc/apt/sources.list.d/software.list
添加:
deb http://archive.ubuntukylin.com/ubuntukylin focal-partner main
保存退出


sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 56583E647FFA7DE7
sudo apt update
sudo apt install weixin


直接退出weixin,再打开发现打不开,因为后台没有kill掉