add 'README.install.bullseye'
This commit is contained in:
		
							
								
								
									
										24
									
								
								README.install.bullseye
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										24
									
								
								README.install.bullseye
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,24 @@
 | 
				
			|||||||
 | 
					# - Some settings
 | 
				
			||||||
 | 
					# -
 | 
				
			||||||
 | 
					os_codename=bullseye
 | 
				
			||||||
 | 
					version_wkhtmltox=0.12.6.1-3
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# - Download Debian package from:
 | 
				
			||||||
 | 
					# -    https://github.com/wkhtmltopdf/packaging/releases
 | 
				
			||||||
 | 
					# -
 | 
				
			||||||
 | 
					mkdir -p /usr/local/src/wkhtmltox
 | 
				
			||||||
 | 
					cd /usr/local/src/wkhtmltox
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					wget -O /usr/local/src/wkhtmltox/wkhtmltox_${version_wkhtmltox}.${os_codename}_amd64.deb \
 | 
				
			||||||
 | 
					   https://github.com/wkhtmltopdf/packaging/releases/download/${version_wkhtmltox}/wkhtmltox_${version_wkhtmltox}.${os_codename}_arm64.deb
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# - Install dependency package
 | 
				
			||||||
 | 
					# -
 | 
				
			||||||
 | 
					apt install ca-certificates fontconfig libc6 libfreetype6 libjpeg62-turbo libpng16-16 libssl3 libstdc++6 libx11-6 libxcb1 libxext6 libxrender1 xfonts-75dpi xfonts-base zlib1g
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# - Install wkhtmltopdf wkhtmltox
 | 
				
			||||||
 | 
					# -
 | 
				
			||||||
 | 
					dpkg -i /usr/local/src/wkhtmltox/wkhtmltox_${version_wkhtmltox}.${os_codename}_amd64.deb
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		Reference in New Issue
	
	Block a user