install package
download package either by browser or wget a .deb file
sudo dpkg -i XXXXX.deb
if meet issues, try below
sudo apt-get -f install
sudo dpkg -i XXXXX.deb
to update current install package
sudo apt-get update
install svn
1. install apache2
sudo apt-get install apache2
configure apache2
....
2. install svn
sudo apt-get install subversion
configure svn and start svn daemon
To list packages install in system
pkg-config --list-all
To uninstall a make install
sudo make uninstall
if not work
try
checkinstall
or use
make -n install
to trace install steps and uninstall manually
2017年8月26日 星期六
2017年8月22日 星期二
EFI switch Graphic Mode
UEFI switch between graphic/Text mode example.
EFI_CONSOLE_CONTROL_PROTOCOL *ConsoleControl = NULL;
Status = gBS->LocateProtocol (&gEfiConsoleControlProtocolGuid, NULL, (VOID**)&ConsoleControl);
if (ConsoleControl != NULL)
{
ConsoleControl->SetMode(ConsoleControl, EfiConsoleControlScreenGraphics);
}
Only below two modes can choose from.
EfiConsoleControlScreenText,
EfiConsoleControlScreenGraphics
Learn one thing. Even switch to graphic mode, you can still use EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL or even Print.
訂閱:
文章 (Atom)