diff --git a/install.org b/install.org index 384386d..918a7a0 100644 --- a/install.org +++ b/install.org @@ -44,6 +44,11 @@ Its configuration file is described [[file:alacritty.org][here]]. | =ctrl += | increase font size | | =ctrl -= | decrease font size | +Also install =kitty= (better image support) +#+begin_src bash +paru -S kitty +#+end_src + * =bash= - Shell https://wiki.archlinux.org/index.php/Bash @@ -349,23 +354,25 @@ paru -S xorg-xrandr arandr [[https://christian.amsuess.com/tools/arandr/][Arandr]] is a GUI application to manage monitors. * Music Setup -** =pulseaudio= - Sound Server -https://wiki.archlinux.org/index.php/PulseAudio +** =pipewire= - Sound Server +https://wiki.archlinux.org/title/PipeWire Installation: #+begin_src bash -paru -S pulseaudio pulseaudio-alsa pulseaudio-bluetooth +paru -S pipewire pipewire-alsa pipewire-audio pipewire-jack pipewire-pulse wireplumber #+end_src -If sound is not working, should run =pulseaudio --kill= to kill the deamon and then =pulseaudio --daemonize= to run it again. +#+begin_src bash +systemctl --user enable --now pipewire.socket +systemctl --user enable --now pipewire-pulse.socket +systemctl --user enable --now wireplumber.service +#+end_src -https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/Running/ - -** =pavucontrol= - Sound Manager -=pavucontrol= is used as a sound manager: +** =pwvucontrol= - Sound Manager +=pwvucontrol= is used as a sound manager: #+begin_src bash -paru -S pavucontrol +paru -S pwvucontrol #+end_src ** =mopidy= - Audio Server @@ -539,18 +546,17 @@ https://wiki.archlinux.org/index.php/PCManFM paru -S pcmanfm #+end_src -* =sxiv= - Image viewer -https://github.com/muennich/sxiv -https://www.youtube.com/watch?v=GYW9i_u5PYs +* =nsxiv= - Image viewer +https://github.com/nsxiv/nsxiv ** Installation #+begin_src bash -paru -S sxiv +paru -S nsxiv #+end_src ** Open Gif #+begin_src bash -sxiv -a file.gif +nsxiv -a file.gif #+end_src ** Cheatsheet @@ -726,7 +732,7 @@ Installation Download Matlab here: https://fr.mathworks.com/downloads/ Unzip, and run =./install=. -Then, choose the install directory to be =~/.local/soft/Matlab/R2019b=. +Then, choose the install directory to be =~/.local/soft/Matlab/R2024b=. If there is a problem when opening a Simulink file, check the solution [[https://fr.mathworks.com/matlabcentral/answers/361053-can-t-reload-usr-local-matlab-r2017b-bin-glnxa64-libmwdastudio-so][here]] or [[https://bbs.archlinux.org/viewtopic.php?id=231299][here]]. @@ -735,6 +741,454 @@ In such case type =opengl('save', 'software')= (see [[https://fr.mathworks.com/m To install a new package, run =./install= in =~/.local/soft/Matlab_Install=. +** Matlab - New way of installing + +Use [[https://github.com/mathworks-ref-arch/matlab-dockerfile][MPM]] to install Matlab. + +#+begin_src bash :eval no +wget https://www.mathworks.com/mpm/glnxa64/mpm +chmod +x ./mpm +./mpm install --inputfile=./mpm_input_r2024b.txt +#+end_src + +With the input file: +#+begin_src conf :tangle ~/Downloads/mpm_input_r2024b.txt +######################################################################## +## Configuration File for Installing or Downloading R2024b MathWorks Products +######################################################################## +## +## Use this file to configure the installation or download of MathWorks +## products and support packages from the command line using the +## MATLAB Package Manager (mpm). +## +## To configure your MATLAB installation or download: +## +## 1. Set configuration parameters by uncommenting lines that +## start with a single '#' and updating the values. The +## comments above each parameter describe the valid values. +## +## 2. Run mpm from the command line, using the --inputfile option +## to specify the full path to this configuration file. +## +## Install products: +## mpm install --inputfile +## +## Download products without installing: +## mpm download --inputfile +## +## You can download template input files for all supported releases from +## https://github.com/mathworks-ref-arch/matlab-dockerfile/blob/main/MPM.md +## +######################################################################## + + +######################################################################## +## RELEASE +######################################################################## +## +## By default, mpm gets the latest versions of R2024b MathWorks products +## and support packages using this input file. +## +## To get a specific update for R2024b, set the desired update +## number (for example, 1, 2, 3, and so on) and uncomment the following +## line. An updateLevel of 0 gets the general release. + +# updateLevel=0 + + +######################################################################## +## INSTALLATION OR DOWNLOAD FOLDER +######################################################################## +## +## When installing products using 'mpm install': +## +## Specify the full path to the folder where you want to install the +## products. When adding products or support packages to an +## existing MATLAB installation, specify the full path to the folder +## where MATLAB is installed. +## +## Example: +## (Linux) destinationFolder=/usr/local/MATLAB/RXXXX +## (Windows) destinationFolder=C:\Program Files\MATLAB\RXXXX +## (Mac) destinationFolder=/Applications/MATLAB_RXXXX.app +## +## When downloading products using 'mpm download': +## +## Specify the full path to the folder where you want to download the +## products. For 'mpm download', this option is required. +## +## Example: +## (Linux/Mac) destinationFolder=/home//downloads/mathworks +## (Windows) destinationFolder=C:\Users\\Downloads\MathWorks +## +## Set the desired value for destinationFolder and +## uncomment the following line. + +destinationFolder=/home/thomas/.local/soft/Matlab/R2024b + + +######################################################################## +## PRODUCTS +######################################################################## +## +## Uncomment the lines for the products you want to install or download. + +#product.5G_Toolbox +#product.AUTOSAR_Blockset +#product.Aerospace_Blockset +#product.Aerospace_Toolbox +#product.Antenna_Toolbox +#product.Audio_Toolbox +#product.Automated_Driving_Toolbox +#product.Bioinformatics_Toolbox +#product.Bluetooth_Toolbox +#product.C2000_Microcontroller_Blockset +#product.Communications_Toolbox +#product.Computer_Vision_Toolbox +product.Control_System_Toolbox +product.Curve_Fitting_Toolbox +#product.DDS_Blockset +#product.DSP_HDL_Toolbox +#product.DSP_System_Toolbox +#product.Data_Acquisition_Toolbox +#product.Database_Toolbox +#product.Datafeed_Toolbox +#product.Deep_Learning_HDL_Toolbox +#product.Deep_Learning_Toolbox +#product.Econometrics_Toolbox +#product.Embedded_Coder +#product.Filter_Design_HDL_Coder +#product.Financial_Instruments_Toolbox +#product.Financial_Toolbox +#product.Fixed-Point_Designer +#product.Fuzzy_Logic_Toolbox +#product.GPU_Coder +#product.Global_Optimization_Toolbox +#product.HDL_Coder +#product.HDL_Verifier +#product.Image_Acquisition_Toolbox +#product.Image_Processing_Toolbox +#product.Industrial_Communication_Toolbox +#product.Instrument_Control_Toolbox +#product.LTE_Toolbox +#product.Lidar_Toolbox +product.MATLAB +product.MATLAB_Coder +product.MATLAB_Compiler +#product.MATLAB_Compiler_SDK +product.MATLAB_Parallel_Server +#product.MATLAB_Production_Server +#product.MATLAB_Report_Generator +#product.MATLAB_Test +#product.MATLAB_Web_App_Server +#product.Mapping_Toolbox +#product.Medical_Imaging_Toolbox +#product.Mixed-Signal_Blockset +#product.Model_Predictive_Control_Toolbox +#product.Model-Based_Calibration_Toolbox +#product.Motor_Control_Blockset +#product.Navigation_Toolbox +product.Optimization_Toolbox +product.Parallel_Computing_Toolbox +#product.Partial_Differential_Equation_Toolbox +#product.Phased_Array_System_Toolbox +#product.Polyspace_Bug_Finder +#product.Polyspace_Bug_Finder_Server +#product.Polyspace_Code_Prover +#product.Polyspace_Code_Prover_Server +#product.Polyspace_Test +#product.Powertrain_Blockset +#product.Predictive_Maintenance_Toolbox +#product.RF_Blockset +#product.RF_PCB_Toolbox +#product.RF_Toolbox +#product.ROS_Toolbox +#product.Radar_Toolbox +#product.Reinforcement_Learning_Toolbox +#product.Requirements_Toolbox +#product.Risk_Management_Toolbox +#product.Robotics_System_Toolbox +product.Robust_Control_Toolbox +#product.Satellite_Communications_Toolbox +#product.Sensor_Fusion_and_Tracking_Toolbox +#product.SerDes_Toolbox +#product.Signal_Integrity_Toolbox +product.Signal_Processing_Toolbox +#product.SimBiology +#product.SimEvents +product.Simscape +#product.Simscape_Battery +#product.Simscape_Driveline +product.Simscape_Electrical +#product.Simscape_Fluids +product.Simscape_Multibody +product.Simulink +#product.Simulink_3D_Animation +#product.Simulink_Check +product.Simulink_Coder +product.Simulink_Compiler +product.Simulink_Control_Design +#product.Simulink_Coverage +#product.Simulink_Design_Optimization +#product.Simulink_Design_Verifier +product.Simulink_Desktop_Real-Time +#product.Simulink_Fault_Analyzer +#product.Simulink_PLC_Coder +product.Simulink_Real-Time +#product.Simulink_Report_Generator +#product.Simulink_Test +#product.SoC_Blockset +#product.Spreadsheet_Link +#product.Stateflow +#product.Statistics_and_Machine_Learning_Toolbox +product.Symbolic_Math_Toolbox +#product.System_Composer +product.System_Identification_Toolbox +#product.Text_Analytics_Toolbox +#product.UAV_Toolbox +#product.Vehicle_Dynamics_Blockset +#product.Vehicle_Network_Toolbox +#product.Vision_HDL_Toolbox +#product.WLAN_Toolbox +#product.Wavelet_Toolbox +#product.Wireless_HDL_Toolbox +#product.Wireless_Testbench + + +######################################################################## +## SUPPORT PACKAGES +######################################################################## +## +## Uncomment the lines for the support packages you want to install or download. + +#product.6G_Exploration_Library_for_5G_Toolbox +#product.ASIC_Testbench_for_HDL_Verifier +#product.Aerospace_Blockset_Interface_for_Unreal_Engine_Projects +#product.Audio_Toolbox_Interface_for_SpeechBrain_and_Torchaudio_Libraries +#product.Automated_Driving_Toolbox_Importer_for_Zenrin_Japan_Map_API_3.0_(Itsumo_NAVI_API_3.0)_Service +#product.Automated_Driving_Toolbox_Interface_for_Unreal_Engine_Projects +#product.Automated_Driving_Toolbox_Model_for_Lidar_Lane_Detection +#product.Automated_Driving_Toolbox_Test_Suite_for_Euro_NCAP_Protocols +#product.Automated_Visual_Inspection_Library_for_Computer_Vision_Toolbox +#product.CI/CD_Automation_for_Simulink_Check +#product.Communications_Toolbox_Support_Package_for_Analog_Devices_ADALM-Pluto_Radio +#product.Communications_Toolbox_Support_Package_for_RTL-SDR_Radio +#product.Communications_Toolbox_Support_Package_for_USRP_Embedded_Series_Radio +#product.Communications_Toolbox_Support_Package_for_USRP_Radio +#product.Communications_Toolbox_Wireless_Network_Simulation_Library +#product.Component_Deployment_Guideline_for_Embedded_Coder +#product.Computer_Vision_Toolbox_Interface_for_OpenCV_in_MATLAB +#product.Computer_Vision_Toolbox_Interface_for_OpenCV_in_Simulink +#product.Computer_Vision_Toolbox_Model_for_Inflated-3D_Video_Classification +#product.Computer_Vision_Toolbox_Model_for_Mask_R-CNN_Instance_Segmentation +#product.Computer_Vision_Toolbox_Model_for_Object_Keypoint_Detection +#product.Computer_Vision_Toolbox_Model_for_Pose_Mask_R-CNN_6-DoF_Object_Pose_Estimation +#product.Computer_Vision_Toolbox_Model_for_R(2+1)D_Video_Classification +#product.Computer_Vision_Toolbox_Model_for_RAFT_Optical_Flow_Estimation +#product.Computer_Vision_Toolbox_Model_for_RTMDet_Object_Detection +#product.Computer_Vision_Toolbox_Model_for_SOLOv2_Instance_Segmentation +#product.Computer_Vision_Toolbox_Model_for_SlowFast_Video_Classification +#product.Computer_Vision_Toolbox_Model_for_Text_Detection +#product.Computer_Vision_Toolbox_Model_for_Vision_Transformer_Network +#product.Computer_Vision_Toolbox_Model_for_YOLO_v2_Object_Detection +#product.Computer_Vision_Toolbox_Model_for_YOLO_v3_Object_Detection +#product.Computer_Vision_Toolbox_Model_for_YOLO_v4_Object_Detection +#product.Computer_Vision_Toolbox_OCR_Language_Data +#product.Data_Acquisition_Toolbox_Support_Package_for_Analog_Devices_ADALM1000_Hardware +#product.Data_Acquisition_Toolbox_Support_Package_for_Digilent_Analog_Discovery_Hardware +#product.Data_Acquisition_Toolbox_Support_Package_for_Measurement_Computing_Hardware +#product.Data_Acquisition_Toolbox_Support_Package_for_National_Instruments_NI-DAQmx_Devices +#product.Data_Acquisition_Toolbox_Support_Package_for_Windows_Sound_Cards +#product.Database_Toolbox_Interface_for_Neo4j_Bolt_Protocol +#product.Databricks_ODBC_Driver_for_Database_Toolbox +#product.Deep_Learning_HDL_Toolbox_Support_Package_for_Intel_FPGA_and_SoC_Devices +#product.Deep_Learning_HDL_Toolbox_Support_Package_for_Xilinx_FPGA_and_SoC_Devices +#product.Deep_Learning_Toolbox_Converter_for_ONNX_Model_Format +#product.Deep_Learning_Toolbox_Converter_for_PyTorch_Model_Format +#product.Deep_Learning_Toolbox_Converter_for_TensorFlow_models +#product.Deep_Learning_Toolbox_Importer_for_Caffe_Models +#product.Deep_Learning_Toolbox_Interface_for_TensorFlow_Lite +#product.Deep_Learning_Toolbox_Model_Quantization_Library +#product.Deep_Learning_Toolbox_Model_for_AlexNet_Network +#product.Deep_Learning_Toolbox_Model_for_DarkNet-19_Network +#product.Deep_Learning_Toolbox_Model_for_DarkNet-53_Network +#product.Deep_Learning_Toolbox_Model_for_DenseNet-201_Network +#product.Deep_Learning_Toolbox_Model_for_EfficientNet-b0_Network +#product.Deep_Learning_Toolbox_Model_for_GoogLeNet_Network +#product.Deep_Learning_Toolbox_Model_for_Inception-ResNet-v2_Network +#product.Deep_Learning_Toolbox_Model_for_Inception-v3_Network +#product.Deep_Learning_Toolbox_Model_for_MobileNet-v2_Network +#product.Deep_Learning_Toolbox_Model_for_NASNet-Large_Network +#product.Deep_Learning_Toolbox_Model_for_NASNet-Mobile_Network +#product.Deep_Learning_Toolbox_Model_for_Places365-GoogLeNet_Network +#product.Deep_Learning_Toolbox_Model_for_ResNet-101_Network +#product.Deep_Learning_Toolbox_Model_for_ResNet-18_Network +#product.Deep_Learning_Toolbox_Model_for_ResNet-50_Network +#product.Deep_Learning_Toolbox_Model_for_ShuffleNet_Network +#product.Deep_Learning_Toolbox_Model_for_VGG-16_Network +#product.Deep_Learning_Toolbox_Model_for_VGG-19_Network +#product.Deep_Learning_Toolbox_Model_for_Xception_Network +#product.Deep_Learning_Toolbox_Verification_Library +#product.Embedded_Coder_Interface_to_QEMU_Emulator +#product.Embedded_Coder_Support_Package_For_Linux_Applications +#product.Embedded_Coder_Support_Package_for_AMD_SoC_Devices +#product.Embedded_Coder_Support_Package_for_ARM_Cortex-A_Processors +#product.Embedded_Coder_Support_Package_for_ARM_Cortex-M_Processors +#product.Embedded_Coder_Support_Package_for_ARM_Cortex-R_Processors +#product.Embedded_Coder_Support_Package_for_BeagleBone_Black_Hardware +#product.Embedded_Coder_Support_Package_for_Infineon_AURIX_TC3x_Microcontrollers +#product.Embedded_Coder_Support_Package_for_Infineon_AURIX_TC4x_Microcontrollers +#product.Embedded_Coder_Support_Package_for_Intel_SoC_Devices +#product.Embedded_Coder_Support_Package_for_Qualcomm_Hexagon_Processors +#product.Embedded_Coder_Support_Package_for_STMicroelectronics_STM32_Processors +#product.Ephemeris_Data_for_Aerospace_Toolbox +#product.Extended_Tire_Features_for_Vehicle_Dynamics_Blockset +#product.FMU_Builder_For_Simulink +#product.GPU_Coder_Interface_for_Deep_Learning_Libraries +#product.GUIDE_to_App_Designer_Migration_Tool_for_MATLAB +#product.Geoid_Data_for_Aerospace_Toolbox +#product.HDL_Coder_Support_Package_for_Intel_FPGA_and_SoC_Devices +#product.HDL_Coder_Support_Package_for_Microchip_FPGA_and_SoC_Devices +#product.HDL_Coder_Support_Package_for_Xilinx_FPGA_and_SoC_Devices +#product.HDL_Verifier_Support_Package_for_AMD_FPGA_and_SoC_Devices +#product.HDL_Verifier_Support_Package_for_Intel_FPGA_Boards +#product.HDL_Verifier_Support_Package_for_Microsemi_FPGA_Boards +#product.Hyperspectral_Imaging_Library_for_Image_Processing_Toolbox +#product.Image_Acquisition_Toolbox_Support_Package_for_DCAM_Hardware +#product.Image_Acquisition_Toolbox_Support_Package_for_Kinect_for_Windows_Sensor +#product.Image_Acquisition_Toolbox_Support_Package_for_Matrox_Hardware +#product.Image_Acquisition_Toolbox_Support_Package_for_National_Instruments_Frame_Grabbers +#product.Image_Acquisition_Toolbox_Support_Package_for_OS_Generic_Video_Interface +#product.Image_Acquisition_Toolbox_Support_Package_for_Point_Grey_Hardware +#product.Image_Acquisition_Toolbox_Support_Package_for_Teledyne_DALSA_Sapera_Hardware +#product.Image_Processing_Toolbox_Image_Data +#product.Image_Processing_Toolbox_Model_for_Segment_Anything_Model +#product.Instrument_Control_Toolbox_Support_Package_for_IVI_and_VXIplug&play_Drivers +#product.Instrument_Control_Toolbox_Support_Package_for_Keysight_(Agilent)_IO_Libraries_and_VISA_Interface +#product.Instrument_Control_Toolbox_Support_Package_for_National_Instruments_NI-845x_I2C/SPI_Interface +#product.Instrument_Control_Toolbox_Support_Package_for_National_Instruments_NI-DCPower_Power_Supplies +#product.Instrument_Control_Toolbox_Support_Package_for_National_Instruments_NI-DMM_Digital_Multimeters +#product.Instrument_Control_Toolbox_Support_Package_for_National_Instruments_NI-FGEN_Function_Generators +#product.Instrument_Control_Toolbox_Support_Package_for_National_Instruments_NI-SCOPE_Oscilloscopes +#product.Instrument_Control_Toolbox_Support_Package_for_National_Instruments_NI-SWITCH_Hardware +#product.Instrument_Control_Toolbox_Support_Package_for_National_Instruments_VISA_and_ICP_Interfaces +#product.Instrument_Control_Toolbox_Support_Package_for_Rohde_Schwarz_VISA_Interface +#product.Instrument_Control_Toolbox_Support_Package_for_Total_Phase_Aardvark_I2C/SPI_Interface +#product.Integro-Differential_Modeling_Framework_for_MATLAB +#product.Lidar_Toolbox_Interface_for_OpenPCDet_Library +#product.Lidar_Toolbox_Model_for_RandLA-Net_Semantic_Segmentation +#product.Lidar_Toolbox_Support_Package_for_Hokuyo_LiDAR_Sensors +#product.Lidar_Toolbox_Support_Package_for_Ouster_Lidar_Sensors +#product.Lidar_Toolbox_Support_Package_for_Velodyne_LiDAR_Sensors +#product.MATLAB_Basemap_Data_-_bluegreen +#product.MATLAB_Basemap_Data_-_colorterrain +#product.MATLAB_Basemap_Data_-_grayland +#product.MATLAB_Basemap_Data_-_grayterrain +#product.MATLAB_Basemap_Data_-_landcover +#product.MATLAB_Client_for_MATLAB_Production_Server +#product.MATLAB_Coder_Interface_for_Deep_Learning_Libraries +#product.MATLAB_Coder_Interface_for_Visual_Studio_Code_Debugging +#product.MATLAB_Coder_Support_Package_for_NVIDIA_Jetson_and_NVIDIA_DRIVE_Platforms +#product.MATLAB_Support_Package_for_Android_Sensors +#product.MATLAB_Support_Package_for_Apple_iOS_Sensors +#product.MATLAB_Support_Package_for_Arduino_Hardware +#product.MATLAB_Support_Package_for_BeagleBone_Black_Hardware +#product.MATLAB_Support_Package_for_LEGO_MINDSTORMS_EV3_Hardware +#product.MATLAB_Support_Package_for_Quantum_Computing +#product.MATLAB_Support_Package_for_Raspberry_Pi_Hardware +#product.MATLAB_Support_Package_for_USB_Webcams +#product.MATLAB_Support_for_MinGW-w64_C/C++/Fortran_Compiler +#product.Machine_Learning_Pipelines_for_Statistics_and_Machine_Learning_Toolbox_(Beta) +#product.MariaDB_ODBC_Driver_for_Database_Toolbox +#product.Medical_Imaging_Toolbox_Interface_for_Cellpose +#product.Medical_Imaging_Toolbox_Interface_for_MONAI_Label_Library +#product.Medical_Imaging_Toolbox_Model_for_Medical_Segment_Anything_Model +#product.Mixed-Signal_Blockset_Models +#product.Modelscape_for_MATLAB +#product.Multi-Version_Co-Simulation_for_Simulink +#product.PostgreSQL_ODBC_Driver_for_Database_Toolbox +#product.Powertrain_Blockset_Drive_Cycle_Data +#product.RF_Blockset_Models_for_Analog_Devices_RF_Transceivers +#product.ROS_Toolbox_Support_Package_for_TurtleBot-Based_Robots +#product.Radar_Toolbox_Support_Package_for_Texas_Instruments_mmWave_Radar_Sensors +#product.Robotics_System_Toolbox_Interface_for_Unreal_Engine_Projects +#product.Robotics_System_Toolbox_Offroad_Autonomy_Library +#product.Robotics_System_Toolbox_Robot_Library_Data +#product.Robotics_System_Toolbox_Support_Package_for_Kinova_Gen3_Manipulators +#product.Robotics_System_Toolbox_Support_Package_for_Universal_Robots_UR_Series_Manipulators +#product.Scenario_Builder_for_Automated_Driving_Toolbox +#product.Signal_Processing_Toolbox_Support_Package_for_Linux_IIO_Devices +#product.Simulink_Coder_Support_Package_for_ARM_Cortex-based_VEX_Microcontroller +#product.Simulink_Coder_Support_Package_for_BeagleBone_Blue_Hardware +#product.Simulink_Coder_Support_Package_for_NXP_FRDM-K64F_Board +#product.Simulink_Coder_Support_Package_for_NXP_FRDM-KL25Z_Board +#product.Simulink_Coder_Support_Package_for_STMicroelectronics_Nucleo_Boards +#product.Simulink_Coder_Support_Package_for_VEX_EDR_V5_Robot_Brain +#product.Simulink_Interface_for_Siemens_MF-Tyre/MF-Swift_Tire_Model +#product.Simulink_Real-Time_XIL_Support_Package +#product.Simulink_Support_Package_for_Android_Devices +#product.Simulink_Support_Package_for_Arduino_Hardware +#product.Simulink_Support_Package_for_LEGO_MINDSTORMS_EV3_Hardware +#product.Simulink_Support_Package_for_Parrot_Minidrones +#product.Simulink_Support_Package_for_Raspberry_Pi_Hardware +#product.Simulink_Test_Support_Package_for_ASAM_XIL +#product.SoC_Blockset_Support_Package_for_AMD_FPGA_and_SoC_Devices +#product.SoC_Blockset_Support_Package_for_Embedded_Linux_Devices +#product.SoC_Blockset_Support_Package_for_Intel_Devices +#product.Streaming_Data_Framework_for_MATLAB_Production_Server +#product.Text_Analytics_Toolbox_Model_for_BERT-Base_Multilingual_Cased_Network +#product.Text_Analytics_Toolbox_Model_for_BERT-Base_Network +#product.Text_Analytics_Toolbox_Model_for_BERT-Large_Network +#product.Text_Analytics_Toolbox_Model_for_BERT-Mini_Network +#product.Text_Analytics_Toolbox_Model_for_BERT-Small_Network +#product.Text_Analytics_Toolbox_Model_for_BERT-Tiny_Network +#product.Text_Analytics_Toolbox_Model_for_all-MiniLM-L12-v2_Network +#product.Text_Analytics_Toolbox_Model_for_all-MiniLM-L6-v2_Network +#product.Text_Analytics_Toolbox_Model_for_fastText_English_16_Billion_Token_Word_Embedding +#product.Text_Analytics_Toolbox_Model_from_UDify_Data +#product.UAV_Toolbox_Interface_for_Unreal_Engine_Projects +#product.UAV_Toolbox_Support_Package_for_PX4_Autopilots +#product.Variant_Manager_for_Simulink +#product.Vehicle_Dynamics_Blockset_Interface_for_Unreal_Engine_Projects +#product.Vehicle_Dynamics_Blockset_Maneuver_Data +#product.WINNER_II_Channel_Model_for_Communications_Toolbox +#product.Wireless_Testbench_Support_Package_for_NI_USRP_Radios + + +######################################################################## +## CHECKSUM +######################################################################## +## +## NOTE: DO NOT edit this field. MathWorks uses this field to +## check the integrity of the input file. Changing the value +## of the checksum field invalidates this input file. + +?checksum=UjIwMjRi +#+end_src + +Then, add some binaries to the path with: +#+begin_src bash :eval no +ln -s ~/.local/soft/Matlab/R2024b/bin/mex ~/.local/bin +ln -s ~/.local/soft/Matlab/R2024b/bin/matlab ~/.local/bin +ln -s ~/.local/soft/Matlab/R2024b/bin/glnxa64/mlint ~/.local/bin +#+end_src + +With R2024b on Arch Linux, some crash are due to gnutls. +This can be resolves as explain in #10 [[https://bbs.archlinux.org/viewtopic.php?id=306939][here]]: +#+begin_src bash :eval no +MATLABPATH=$HOME/.local/soft/Matlab/R2024B/bin/glnxa64/ +GNUTLSPATH=/tmp/gnutls-3.8.9-1-x86_64.pkg +wget https://archive.archlinux.org/packages/g/gnutls/gnutls-3.8.9-1-x86_64.pkg.tar.zst +mkdir -p "${GNUTLSPATH}" +tar -xvf gnutls-3.8.9-1-x86_64.pkg.tar.zst -C ${GNUTLSPATH} +mkdir "${MATLABPATH}"/gnutls +cp -a "${GNUTLSPATH}"/usr/lib/* "${MATLABPATH}"/gnutls/ +cd "${MATLABPATH}" +ln -s gnutls/* ./ +#+end_src + +Most of other issues are well explained in the [[https://wiki.archlinux.org/title/MATLAB][Arch Wiki]]. + ** Python and Jupyter-notebook #+begin_src bash @@ -1181,6 +1635,14 @@ Set the fastest mirror for Pacman sudo rankmirrors -n 6 /etc/pacman.d/mirrorlist.backup > /etc/pacman.d/mirrorlist #+end_src +Enable =SysRq= key by created this file =/etc/sysctl.d/99-sysctl.conf=: +#+begin_src conf +kernel.sysrq = 1 +#+end_src + +Then, =Alt-prtsc-F= can be used when the system freezes due to lack of memory. +It basically kills the process with the most used memory. + * Configuration for Laptops ** Power Management Tool: Powertop https://wiki.archlinux.org/index.php/Powertop